//
//  PersonModel.m
//  Taste
//
//  Created by 徐昊 on 16/9/10.
//  Copyright © 2016年 徐昊. All rights reserved.
//

#import "PersonModel.h"
#import "PersonRes.h"
@implementation PersonModel

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"res"]) {
        _res = [PersonRes modelWithDic:value];
    }
}

+ (NSDictionary *)objectClassInArray{
    return @{@"res" : [PersonRes class]};
}

@end



